import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Element from 'element-ui'
import VuePhotoZoomPro from 'vue-photo-zoom-pro'

import 'element-ui/lib/theme-chalk/index.css'
import './axios'

Vue.use(Element)
Vue.use(VuePhotoZoomPro)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App),
  beforeCreate() {
    Vue.prototype.$bus = this
  }
}).$mount('#app')
